home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2454 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  904 b 

  1. Path: news.ge.com!news
  2. From: adam kalinowski <KALINOWA@GE.CDNNUC.GE.COM>
  3. Newsgroups: comp.lang.c++
  4. Subject: OCX control
  5. Date: 17 Jan 1996 22:09:18 GMT
  6. Organization: GE CANADA
  7. Message-ID: <4djs2e$7v0@alva.ge.com>
  8. NNTP-Posting-Host: 3.58.16.103
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  13.  
  14. I try to design File.OCX control which transfer the pointer to defined
  15. callback function in CFileCtrl class. I want to use the GET Property
  16. function to transfer this pointer to my application.
  17. I am having a problem to store the pointer in the member variable for
  18. GET property. The statment :
  19.  m_Variable=&CFile::CallBackFunction ; were m_Variable is defined as long
  20. does not work.
  21. How can I transfer the pointer to callback function defined in the 
  22. OLE control class to my application?
  23. I will appreciate any help.
  24.  
  25. Thanks,
  26.  
  27.